projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
daa02ea
)
(Fx_get_cut_buffer_internal): If FORMAT is 0, cut buffer is empty.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 18 Apr 1998 22:14:32 +0000
(22:14 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 18 Apr 1998 22:14:32 +0000
(22:14 +0000)
src/xselect.c
patch
|
blob
|
history
diff --git
a/src/xselect.c
b/src/xselect.c
index bf4fcb6d992a1bd9b60a5abbc09f470404a97bc5..15a4c283b8bb7c30d4c4fb2718e92d935311f3bc 100644
(file)
--- a/
src/xselect.c
+++ b/
src/xselect.c
@@
-2094,7
+2094,8
@@
DEFUN ("x-get-cut-buffer-internal", Fx_get_cut_buffer_internal,
x_get_window_property (display, window, buffer_atom, &data, &bytes,
&type, &format, &size, 0);
- if (!data) return Qnil;
+ if (!data || !format)
+ return Qnil;
if (format != 8 || type != XA_STRING)
Fsignal (Qerror,